package com.duoqin.account.data;

import com.google.gson.annotations.SerializedName;

/**
 * code : 0
 * msg : 成功
 * data : {"expiredAt":1528444979658,"uid":null,"accessToken":"e7ea4031-70b5-4d03-b6e4-5e6d018de8e1"}
 */
public class LoginResponse {

    @SerializedName("code")
    private int code;
    @SerializedName("msg")
    private String msg;
    @SerializedName("data")
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    /**
     * expiredAt : 1528444979658
     * uid : null
     * accessToken : e7ea4031-70b5-4d03-b6e4-5e6d018de8e1
     */
    public static class DataBean {
        @SerializedName("expiredAt")
        private long expiredAt;
        @SerializedName("uid")
        private String uid;
        @SerializedName("accessToken")
        private String accessToken;

        public long getExpiredAt() {
            return expiredAt;
        }

        public void setExpiredAt(long expiredAt) {
            this.expiredAt = expiredAt;
        }

        public String getUid() {
            return uid;
        }

        public void setUid(String uid) {
            this.uid = uid;
        }

        public String getAccessToken() {
            return accessToken;
        }

        public void setAccessToken(String accessToken) {
            this.accessToken = accessToken;
        }
    }
}
